package com.linzp.bishe.model;

import com.linzp.bishe.entity.Participants;
import com.linzp.bishe.entity.Patent;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @ClassName PatentModel
 * @Description 专利
 * @Author LinZePeng
 * @Date 2022/1/26 10:54
 * @Version 1.0
 */
@Data
public class PatentModel {
	private Integer id;

	private String patentName;

	private String patentEnName;

	private String application;

	private String authorization;

	private String patentType;

	private String patentScope;

	private String patentStatus;

	private LocalDateTime dealDate;

	private LocalDateTime authorizationDate;

	private String applicant;

	private String patentee;

	private Integer schoolOrder;

	private String inputPeople;

	private String supportingMaterials;

	private String status;

	private Integer userId;

	private List<Participants> participants;

	public Patent getPatent() {
		return new Patent(id,patentName,patentEnName,application,authorization,
				patentType,patentScope,patentStatus,dealDate,
				authorizationDate,applicant,patentee,
				schoolOrder,inputPeople,supportingMaterials,status,userId);
	}
}
